package demo0427002;

import demo0427002.Keyboard;
import demo0427002.Laptop;
import demo0427002.Mouse;

public class Test002 {
    public static void main(String[] args) {
        Laptop laptop = new Laptop();
        Mouse mouse = new Mouse();
        Keyboard keyboard = new Keyboard();

        laptop.useUSB(mouse);
        laptop.useUSB(keyboard);
    }
}